<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{margin:0;padding:0;}
        .luban-layout{
            height:100vh;
            display: flex;
            flex-direction: row;
        }
        .luban-layout-left{
            width:200px;
            background: #2c3e50;
            color:#fff;
            overflow: auto;
        }
        .luban-layout-right {
            width:240px;
            background: #2c3e50;
            color:#fff;
            overflow: auto;
        }
        .luban-layout-main{
            flex:1;
            overflow: auto;
        }
        h2{height:70px;}/*主要为了撑高度*/
    </style>
</head>
<body>
<div class="luban-layout">
    <div class="luban-layout-left">
        <h2>这是左侧菜单</h2>
        <h2>固定宽度</h2>
        <h2>这是左侧菜单</h2>
        <h2>固定宽度</h2>
        <h2>这是左侧菜单</h2>
        <h2>固定宽度</h2>
        <h2>这是左侧菜单</h2>
        <h2>固定宽度</h2>
        <h2>这是左侧菜单</h2>
        <h2>固定宽度</h2>
    </div>
    <div class="luban-layout-main">
        <h2>这是主区域，自适应1</h2>
        <h2>这是主区域，自适应2</h2>
        <h2>这是主区域，自适应3</h2>
        <h2>这是主区域，自适应4</h2>
        <h2>这是主区域，自适应5</h2>
        <h2>这是主区域，自适应6</h2>
        <h2>这是主区域，自适应7</h2>
        <h2>这是主区域，自适应8</h2>
        <h2>这是主区域，自适应9</h2>
        <h2>这是主区域，自适应10</h2>
    </div>
    <div class="luban-layout-right">
        <h2>这是右侧菜单</h2>
        <h2>固定宽度</h2>
        <h2>这是右侧菜单</h2>
        <h2>固定宽度</h2>
        <h2>这是右侧菜单</h2>
        <h2>固定宽度</h2>
        <h2>这是右侧菜单</h2>
        <h2>固定宽度</h2>
        <h2>这是右侧菜单</h2>
        <h2>固定宽度</h2>
        <h2>这是右侧菜单</h2>
    </div>
</div>
</body>
</html>
